package com.china08.yxyapi.entity.db.huodong.declaration;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.china08.yxyapi.entity.BaseEntityNoId;

/**
 * 哈尔滨 宣言活动 </br>
 * 哈尔滨宣言活动
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "yxy_huodong_hrb_declaration", catalog = "yxy_huodong")
public class YxyHuodongHrbDeclaration extends BaseEntityNoId {

	@Id
	@Column(name = "teacher_id", columnDefinition = "varchar(32) comment '教师id' ")
	private String teacherId;

	@Column(columnDefinition = "varchar(255) comment '教师名称' ")
	private String teacherNick;

	/**
	 * 学校id
	 */
	@Column(columnDefinition = "varchar(32) comment '学校id' ")
	private String schoolId;

	/**
	 * 学校名称
	 */
	@Column(columnDefinition = "varchar(255) comment '学校名称' ")
	private String schoolNick;

	@Column(columnDefinition = "text comment '宣言内容' ")
	private String declaration;

	@Column(columnDefinition = "tinyint default 0 comment '是否为精品 0:非精品,1:精品' ")
	private Integer isBest = 0;

	@Column(columnDefinition = "int comment '我是第几位' ")
	private Integer orderNum;

	public String getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}

	public String getTeacherNick() {
		return teacherNick;
	}

	public void setTeacherNick(String teacherNick) {
		this.teacherNick = teacherNick;
	}

	public String getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(String schoolId) {
		this.schoolId = schoolId;
	}

	public String getSchoolNick() {
		return schoolNick;
	}

	public void setSchoolNick(String schoolNick) {
		this.schoolNick = schoolNick;
	}

	public String getDeclaration() {
		return declaration;
	}

	public void setDeclaration(String declaration) {
		this.declaration = declaration;
	}

	public Integer getIsBest() {
		return isBest;
	}

	public void setIsBest(Integer isBest) {
		this.isBest = isBest;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

}
